﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace WindowsGame1
{
    public class Tiro : Sprite
    {
        public Tiro (Texture2D _texture, Rectangle _rect, Color _color)
        {
            this.texture = _texture;
            this.rect = _rect;
            this.color = _color;

        }

        public void Update(GameTime gameTime)
        {
            this.rect.Y -= 10;
        }

        public void Update2(GameTime gameTime)
        {
            this.rect.Y += 1;
        }

    }
}
